LIBS = -lgthread-2.0 -mwindows
CFLAGS = -Wall

#SRC := $(wildcard '*.c')
SRC := fman.c file_list_view.c main_window.c

fman: $(SRC)
	gcc -o $@ $^ `pkg-config --cflags --libs gtk+-2.0` $(CFLAGS) $(LIBS)

all: 
	fman

.PHONY: clean

clean:
	rm *.exe

#test:
#	gcc fman.c -o fman `pkg-config --cflags --libs gtk+-2.0` -lgthread-2.0 -mwindows